﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 字符串开头过滤器
/// </summary>
[CreateAssetMenu(menuName = "LogManager/Filter/LogFilter_StringStart")]
public class LogFilter_StringStart : ILogFilter
{
    [SerializeField] private string startString;
    public override bool PassFilter(string condition, LogType logType)
    {
        return condition.StartsWith(startString);
    }
}
